/*
 *********************************************************************************************************
 *                                     lwIP TCP/IP Stack & uC/OS-II RTOS
 *                                         port for STM32
 *
 * File : sample_http.h
 *
 * By   : Ming Zeng <vivimillin@gmail.com>, Changxing Lin
 *        Tsinghua Freescale Embedded System Center, Beijing, P.R.China, <2008.01>
 *********************************************************************************************************
 */
#ifndef __SAMPLE_HTTP_H
#define __SAMPLE_HTTP_H

#include "lwip/tcp.h"

#if LWIP_TCP

struct http_state
{
    char *file;
    u16_t left;
    u8_t retries;
};

// demo.html file :)
char demo[]  = { //const static
    0x3C, 0x68, 0x74, 0x6D, 0x6C, 0x3E, 0x3C, 0x48,
};

const char jpeg[] =
{
    0x96, 0x02, 0x43, 0x8C, 0x6E, 0x70, 0x05, 0xD1,
};


#endif
#endif
